Class com.symantec.itools.swing.MaskEngine
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.swing.MaskEngine

Object
   |
   +----com.symantec.itools.swing.MaskEngine

public class MaskEngine
extends Object

Variable Index

 o datetype
 o numbtype
 o texttype
 o timetype

Constructor Index

 o com.symantec.itools.swing.MaskEngine(String, int)
 o com.symantec.itools.swing.MaskEngine()

Method Index

 o cut(String, int, int, StringBuffer)
 o getDatatype()
 o getMask()
 o initDisplay(String, StringBuffer)
 o isHandledKey(KeyEvent)
 o paste(String, String, int, StringBuffer, int, int)
 o processKey(KeyEvent, int, String, StringBuffer, int, int)
 o setDatatype(int)
 o setMask(String)
 o stripMask(String, StringBuffer)

Variables

 o datetype
public static final int datetype
 o numbtype
public static final int numbtype
 o texttype
public static final int texttype
 o timetype
public static final int timetype

Constructors

 o MaskEngine
public MaskEngine(String mask,
                  int datatype)
 o MaskEngine
public MaskEngine()

Methods

 o cut
public java.lang.String cut(String data,
                            int selStart,
                            int selEnd,
                            StringBuffer newData)
 o getDatatype
public int getDatatype()
 o getMask
public java.lang.String getMask()
 o initDisplay
public int initDisplay(String data,
                       StringBuffer newData)
 o isHandledKey
public boolean isHandledKey(KeyEvent e)
 o paste
public int paste(String data,
                 String pasteData,
                 int pos,
                 StringBuffer newData,
                 int selStart,
                 int selEnd)
 o processKey
public int processKey(KeyEvent e,
                      int pos,
                      String data,
                      StringBuffer newData,
                      int selStart,
                      int selEnd)
 o setDatatype
public void setDatatype(int datatype)
 o setMask
public void setMask(String mask)
 o stripMask
public boolean stripMask(String data,
                         StringBuffer newData)

All Packages  Class Hierarchy  This Package  Previous  Next  Index